/* 
 * File:   ast_tester.h
 * Author: diego
 *
 * Created on October 6, 2010, 10:17 PM
 */

#ifndef AST_TESTER_H
#define	AST_TESTER_H

#include <stdio.h>
#include <stdlib.h>
#include "ast.h"

/**
 * Writes the source code represented by the analysed AST into a file.
 *
 * @param dest_src the destination file
 * @param root the Abstract Syntaxe Tree Root
 */
void ast_tst_write_src(FILE* dest_src, AST* root);

#endif	/* AST_TESTER_H */

